#ifndef INPUT_H
#define INPUT_H

#include <iostream>
#include <string>
#include <sstream>
#include <fstream>

#include "map.h"
#include "output.h"
#include "monstertable.h"

using namespace std;

class Keyboard;
class Screen;

class Loader
{
public:
  Loader(string, Map*, Keyboard*);
private:
  Map* map;
  MonsterTable* MTable;
};

class Keyboard
{
public:
  Keyboard(Map*, Screen*);
  int makeMove();
  string getMessage();
  int getStatus();
private:
  void direction(int, int);
  void close();

  Map* map;
  Screen* screen;
  int status;
  int count;
  string message;
};

#endif
